<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>协同办公首页</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
  </head>
  
  <body>	
  	<div class="body-box">
		<div class="map">
			<div class="map_con">
				您当前的位置：协同办公 - 欢迎页
			</div>
		</div>
		<div id="container">
			<table border="0" cellpadding="0" cellspacing="0" class="index_zczb" style="border-bottom:none">
			   <tr class="HeaderTr2">
			      <th> 	未读通知（共<span>${noticeSize}</span>条）</th>
		       </tr>
		    </table>
		 	<table border="0" cellpadding="0" cellspacing="0" class="mytable">
		      <tbody>
		         <tr class="fixedHeaderTr">
			       <td class="headertd" style="font-weight:bold" width="8%">序号</td>
			       <td class="headertd" style="font-weight:bold" width="47%">标题</td>    
			       <td class="headertd" style="font-weight:bold" width="12%">发送时间</td>
			       <td class="headertd" style="font-weight:bold" width="12%">发送单位</td>
			       <td class="headertd" style="font-weight:bold" width="12%">部门</td>
			       <td class="headertd" style="font-weight:bold" width="9%">紧急程度</td>
		         </tr>
		         <s:if test="%{inNoitceList.size>0}">
			         <s:iterator value="inNoitceList" id="notice" status="x">
				         <tr  >
					       <td>${x.index+1}</td>
					       <td style="text-align:left;padding-left:5px;"><a href="<%=basePath%>/oa/notice_noticeInShow.action?id=${notice.id}">${notice.tbOaNotice.noticeTitle}</a></td>
					       <td><s:date name="#notice.tbOaNotice.noticeTime" format="yyyy-MM-dd hh:mm"/></td>
					       <td>${notice.tbOaNotice.tbUser.tbUserUnit.deptName }</td>
					       <td>${notice.tbOaNotice.tbUser.tbUserDept.deptName }</td>
					       <td><span><s:if test="%{#notice.tbOaNotice.isExigence=='1'}">紧急</s:if><s:elseif test="%{#notice.tbOaNotice.isExigence=='0'}">普通</s:elseif></span></td>
					     </tr>
				     </s:iterator>
			     </s:if>
			     <s:else>
			     	<tr class="header1tr">
			     		<td colspan="6">暂无未读通知通告</td>
			     	</tr>
			     </s:else>
				</tbody>
		 	</table>
		 	<table border="0" cellpadding="0" cellspacing="0" class="index_zczb" style="border-bottom:none">
			   <tr class="HeaderTr2">
			      <th> 	未读邮件（共<span>${mailSize}</span>条）</th>
		       </tr>
		    </table>
		 	<table border="0" cellpadding="0" cellspacing="0" class="mytable">
		      <tbody>
		         <tr class="fixedHeaderTr">
			       <td class="headertd" style="font-weight:bold" width="8%">序号</td>
			       <td class="headertd" style="font-weight:bold" width="47%">标题</td>    
			       <td class="headertd" style="font-weight:bold" width="12%">发送时间</td>
			       <td class="headertd" style="font-weight:bold" width="12%">发送单位</td>
			       <td class="headertd" style="font-weight:bold" width="12%">部门</td>
			       <td class="headertd" style="font-weight:bold" width="9%">紧急程度</td>
		         </tr>
		         <s:if test="%{inMailList.size>0}">
			         <s:iterator value="inMailList" id="mail" status="x">
				         <tr  >
					       <td>${x.index+1}</td>
					       <td style="text-align:left;padding-left:5px;"><a href="<%=basePath%>/oa/mail_inMailShow.action?id=${mail.id}">${mail.tbOaMail.mailTitle}</a></td>
					       <td><s:date name="#mail.tbOaMail.mailTime" format="yyyy-MM-dd hh:mm"/></td>
					       <td>${mail.tbOaMail.tbUser.tbUserUnit.deptName }</td>
					       <td>${mail.tbOaMail.tbUser.tbUserDept.deptName }</td>
					       <td><span><s:if test="%{#mail.tbOaMail.isExigence='1'}">紧急</s:if><s:elseif test="%{#mail.tbOaMail.isExigence='0'}">普通</s:elseif></span></td>
					     </tr>
				     </s:iterator>
			     </s:if>
			     <s:else>
			     	<tr  >
			     		<td colspan="6">暂无未读邮件</td>
			     	</tr>
			     </s:else>
				</tbody>
		 	</table>
		 	<!-- 
		 	<table border="0" cellpadding="0" cellspacing="0" class="index_zczb" style="border-bottom:none">
			   <tr class="HeaderTr2">
			      <th> 	信息上报情况</th>
		       </tr>
		       <tr>
			       <td class="kzqk">
			       ■ 您所在部门本季度应报送信息数量为：<span>${msgDept.msgNum}</span><br/>
			       ■ 已报送信息数量为：<span>${msgDept.msgNums}</span><br/>
			       ■ 指标完成率：<span>${msgDept.msgPercent}</span>
			       </td>
			   </tr>
		    </table>
		 	<table border="0" cellpadding="0" cellspacing="0" class="index_zczb" style="border-top:none">
			   <tr>
			      <th style="border-top:none"></th>
		       </tr>
		    </table>
		     -->
		</div>
		<div class="right_bottom">
			<div style="width:11px;float:left"><img src="<%=basePath%>/images/right_bottom.gif"/></div>
			<div style="width:16px;float:right"><img src="<%=basePath%>/images/right_rbottom.gif"/></div>
		</div>
	</div>
  </body>
</html>
